﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucProxy.ascx.cs" Inherits="wRegPadron.frmOpciones.ucProxy" %>
<table width="100%">
    <tr>
        <td class="tdSubTituloVentana" colspan="2" valign="top" align="left">
            <asp:Label runat="server" ID="lblTitulo" CssClass="tdSubTituloVentana"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <br />
        </td>
    </tr>
    <tr>
        <td align="left" colspan="2" class="tdCampoTextoManual">
            <asp:Label runat="server" ID="lblDescripcion" CssClass="tdCampoTextoManual"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <br />
        </td>
    </tr>
    <tr>
        <td align="center">
            <table width="60%">
                <tr>
                    <td align="center">
                        <table>
                            <tr>
                                <td align="left">
                                    Proxy:
                                </td>
                                <td align="left">
                                    <asp:TextBox runat="server" ID="txtProxy" Width="120"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    Puerto:
                                </td>
                                <td align="left">
                                    <asp:TextBox runat="server" ID="txtPuerto" Width="80"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <asp:CheckBox runat="server" ID="cbTipo" Text="Proxy predeterminado" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:Button runat="server" ID="btnGuardar" Text="Guardar" OnClick="btnGuardar_Click" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:GridView runat="server" ID="gvProxys" EmptyDataText="No se han registrado proxys"
                            AutoGenerateColumns="false" CssClass="bgrid" OnRowCommand="gvProxys_RowCommand">
                            <SelectedRowStyle CssClass="bselectedrow" />
                            <PagerStyle CssClass="bpagerstyle" />
                            <AlternatingRowStyle CssClass="baltrow" />
                            <Columns>
                                <asp:BoundField DataField="SERPRO_P_inID" HeaderText="idGrupo" ReadOnly="True">
                                    <ControlStyle Width="0px" CssClass="hid" />
                                    <FooterStyle CssClass="hid" Width="0px" />
                                    <HeaderStyle CssClass="hid" Width="0px" />
                                    <ItemStyle CssClass="hid" Width="0px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Proxy" DataField="SERPRO_chDIRSER" ItemStyle-Width="100" />
                                <asp:BoundField HeaderText="Puerto" DataField="SERPRO_chPUESER" ItemStyle-Width="80" />
                                <asp:ButtonField HeaderText="Eliminar" ButtonType="Image" ImageUrl="../Imagenes/eliminar.png"
                                    ItemStyle-Width="35" ItemStyle-Height="35" ItemStyle-HorizontalAlign="Center"
                                    ControlStyle-Height="30" ControlStyle-Width="30" CommandName="Eliminar" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
